home *** CD-ROM | disk | FTP | other *** search
- Path: news.minn.net!news
- From: gruch@minn.net
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Watcom C/C++ 10.0 16 bit DOS interrupt problems
- Date: Thu, 18 Apr 1996 20:16:29 GMT
- Organization: Minn Net
- Message-ID: <4l67u3$kg9@cobra.Minn.Net>
- NNTP-Posting-Host: dialup-33.minn.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- I'm not sure if this is the proper forum for this question but, here
- goes... I've got Watcom version 10.0 and Microsoft C version 6.0.
- I've got some interrupt driven serial routines that my co-workers and
- I developed a couple of years ago. When we changed to Watcom... we
- attempted to compile them under 16 bit DOS without success. The
- routines compile and run, but when the interrupt fires bad things
- happen. Usually- It's bad enough to have to re-boot the machine.
- Watching it in the debugger- a few lines into the interrupt handler
- all of the variables mysteriously change values (I assume this has
- something to do with the DS register changing). Towards the end of
- the handler, everything reverts back to normal... This changing of
- variables is what is causing the big crash.
-
- I've been pulling my hair out over this one for weeks.... Here's the
- kicker... It compiles and runs just fine if I compile it for 32 bit
- DOS using DOS4GW.
-
- Anyone who has experience in this realm- Your assistance would be
- appreciated. Thanx.
-
- ~Gerry.
-
-